package com.bingxue.edu.management.system.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author panbo
 * @since 2024/9/22
 */
@Data
@Schema(description = "组织排序请求")
public class OrgSortReq {

    @NotNull(message="父组织id不能为空")
    private String parentId;

    @NotEmpty(message="自组织id列表不能为空")
    private List<String> childrenIds;
}
